-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expression: support JSON return type in case
expression
#8355
Conversation
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Failing |
/run-all-tests |
/run-common-test |
/run-sqllogic-test |
1 similar comment
/run-sqllogic-test |
/run-all-tests |
/run-all-tests |
What problem does this PR solve?
Before this PR:
What is changed and how it works?
Return type of
case
expression is decided byResult
field ofwhenClause
s. When the input is json type and null type,case
chooses json as its return type, but incaseWhenFunctionClass::getFunction
we cannot find abuiltinFunc
which has json return type. Add thisbuiltinFunc
to support json as return type.Check List
Tests
Side effects
N/A
Related changes
N/A
This change is